package io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.PrintWriter;

public class PWDemo {
    public static void main(String[] args) throws FileNotFoundException {
        //FileInputStream fis = new FileInputStream("./pw.txt");

        PrintWriter pw = new PrintWriter("./pw.txt");
        pw.println("你好");
        pw.println("再见");
        System.out.println("写出完毕");
        pw.close();
    }
}
